﻿<UserControl
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:OMANE.Modules.Indicateurs" x:Class="Views.ViewGridDefinitionEdtior" 
             xmlns:sys="clr-namespace:System;assembly=mscorlib"
             mc:Ignorable="d" 
            >
	
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition />
        </Grid.RowDefinitions>
        <UniformGrid Columns="2" Margin="0,5">
            <RadioButton HorizontalAlignment="Center" VerticalAlignment="Center" GroupName="CurrentGroup" IsChecked="{Binding Mode=TwoWay, Path=Current}" />
            <RadioButton  HorizontalAlignment="Center" VerticalAlignment="Center"  GroupName="CurrentGroup"/>
        </UniformGrid>
    <Grid Grid.Row="1">
        <Grid.ColumnDefinitions>
            <ColumnDefinition />
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition />

        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition />
            <RowDefinition />
            <RowDefinition />
            <RowDefinition />
            <RowDefinition />
        </Grid.RowDefinitions>
        
        <GridSplitter HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="5,0" Grid.RowSpan="100" Grid.Column="1" Width="5" />

        <TextBlock Text="Bloqué"  Grid.Row="0" HorizontalAlignment="Left" VerticalAlignment="Center"  />
            <TextBlock Text="Actif" Grid.Row="1" HorizontalAlignment="Left" VerticalAlignment="Center"  />
            <TextBlock Text="Type de Taille" Grid.Row="2" HorizontalAlignment="Left" VerticalAlignment="Center"  />
            <TextBlock Text="Taille" Grid.Row="3" HorizontalAlignment="Left" VerticalAlignment="Center"  />
            <TextBlock Text="Taille Minimum" Grid.Row="4" HorizontalAlignment="Left" VerticalAlignment="Center"  />
            <TextBlock Text="Taille Maximum" Grid.Row="5" HorizontalAlignment="Left" VerticalAlignment="Center"  />

            <CheckBox IsChecked="{Binding Mode=TwoWay, Path=Blocked}"  Grid.Column="2" Grid.Row="0" HorizontalAlignment="Left" VerticalAlignment="Center"  />
            <CheckBox IsChecked="{Binding Mode=TwoWay, Path=Active}"  Grid.Column="2" Grid.Row="1" HorizontalAlignment="Left" VerticalAlignment="Center"  />
            <ComboBox SelectedIndex="{Binding Mode=TwoWay, Path=SizeType}"   Grid.Column="2" Grid.Row="2" HorizontalAlignment="Left" VerticalAlignment="Center" >
            <ComboBoxItem Content="Automatique" />
            <ComboBoxItem Content="Absolue" />
            <ComboBoxItem Content="Proportionnelle" />
        </ComboBox>
            <TextBox Text="{Binding Mode=TwoWay, Path=Size}" Grid.Column="2" Grid.Row="3" HorizontalAlignment="Left" VerticalAlignment="Center"  />
            <TextBox Text="{Binding Mode=TwoWay, Path=MinSize}" Grid.Column="2" Grid.Row="4" HorizontalAlignment="Left" VerticalAlignment="Center"  />
            <TextBox Text="{Binding Mode=TwoWay, Path=MaxSize}" Grid.Column="2" Grid.Row="5" HorizontalAlignment="Left" VerticalAlignment="Center"  />

        </Grid>
    </Grid>
</UserControl>
